package gsp420;

public class SimpleThreadTest implements Runnable {

	String message;
	int times;
	
	public void run() {
		for(int i = 0; i < times; ++i){
			System.out.print(message);
		}
	}
	
	public SimpleThreadTest(String m, int num){
		message = m;
		times = num;
	}
	
	public static void main(String[] args){
		Thread t = new Thread(new SimpleThreadTest("Hello", 100));
		t.start();
	}
}
